package com.jnu.hc.jnuhcdoccms.service;

import com.jnu.hc.jnuhcusercms.domain.Overallresult;
import com.jnu.hc.jnuhcusercms.mapper.OverallresultMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OverallResultServiceImpl implements OverallResultService {

    @Autowired
    private OverallresultMapper overallResultMapper;


    @Override
    public List<Overallresult> listOverallResultByOrderId(Integer orderId) {
        return overallResultMapper.listOverallResultByOrderId(orderId);
    }


    @Override
    public int removeOverallResult(Integer orId) {
        return overallResultMapper.removeOverallResult(orId);
    }


    @Override
    public int saveOverallResult(Overallresult overallResult) {
        return overallResultMapper.saveOverallResult(overallResult);
    }


    @Override
    public int updateOverallResult(Overallresult overallResult) {
        return overallResultMapper.updateOverallResult(overallResult);
    }
}

